package com.Shoping.entity;

public class Commoditys {

    private Integer cmsId;//商品快主键
    private String oNumber;//订单号为订单主键，随机生成
    private Integer cmId;//商品主键
    private Integer sId;//购物车主键
    private Integer cmsNumber;//商品快购物对应商品数量
    private Double cmsSubtotal;//商品快总金额
    private String cmsColorName;//商品颜色

    @Override
    public String toString() {
        return "Commoditys{" +
                "cmsId=" + cmsId +
                ", oNumber='" + oNumber + '\'' +
                ", cmId=" + cmId +
                ", sId=" + sId +
                ", cmsNumber=" + cmsNumber +
                ", cmsSubtotal=" + cmsSubtotal +
                '}';
    }

    public Integer getCmsId() {
        return cmsId;
    }

    public void setCmsId(Integer cmsId) {
        this.cmsId = cmsId;
    }

    public String getoNumber() {
        return oNumber;
    }

    public void setoNumber(String oNumber) {
        this.oNumber = oNumber;
    }

    public Integer getCmId() {
        return cmId;
    }

    public void setCmId(Integer cmId) {
        this.cmId = cmId;
    }

    public Integer getsId() {
        return sId;
    }

    public void setsId(Integer sId) {
        this.sId = sId;
    }

    public Integer getCmsNumber() {
        return cmsNumber;
    }

    public void setCmsNumber(Integer cmsNumber) {
        this.cmsNumber = cmsNumber;
    }

    public Double getCmsSubtotal() {
        return cmsSubtotal;
    }

    public void setCmsSubtotal(Double cmsSubtotal) {
        this.cmsSubtotal = cmsSubtotal;
    }

    public String getCmsColorName() {
        return cmsColorName;
    }

    public void setCmsColorName(String cmsColorName) {
        this.cmsColorName = cmsColorName;
    }

    public Commoditys(Integer cmsId, String oNumber, Integer cmId, Integer sId, Integer cmsNumber, Double cmsSubtotal, String cmsColorName) {
        this.cmsId = cmsId;
        this.oNumber = oNumber;
        this.cmId = cmId;
        this.sId = sId;
        this.cmsNumber = cmsNumber;
        this.cmsSubtotal = cmsSubtotal;
        this.cmsColorName = cmsColorName;
    }

    public Commoditys() {
    }
}
